xen/hypfs: CFI hardening
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 Oct 2021 14:42:42 +0000 (15:42 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Feb 2022 15:33:43 +0000 (15:33 +0000)
commit0cccb0416e5480822a54bd74066f73c14238b168
tree17662b6a5b25d5af437ea5dfc54944c436b4b00a
parentfcbae94ea4f7aa62d1c0741577bdcc68caa224a1
xen/hypfs: CFI hardening

Control Flow Integrity schemes use toolchain and optionally hardware support
to help protect against call/jump/return oriented programming attacks.

Use cf_check to annotate function pointer targets for the toolchain.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Juergen Gross <jgross@suse.com>
xen/common/hypfs.c
xen/common/sched/cpupool.c
xen/include/xen/hypfs.h